import request from "@/utils/request";

// 查询列表
export function listPost_message(data) {
  return request({
    url: "/system/message/myMessageList",
    method: "get",
    params: data,
  });
}

// 已读
export function readpost(id) {
  return request({
    url: `/teacher/message/read/${id}`,
    method: "put",
    headers: {
      "Content-Type": "application/x-www-form-urlencoded",
    },
  });
}
// 门店删除品控经理审核
export function schooldelApproval(schoolId, state) {
  return request({
    url: `/system/school/delApproval/${schoolId}/${state}`,
    method: "put",
  });
}
